package com.wl.dzt.sys.core.dao.template.bean;

import java.util.ArrayList;
import java.util.List;



/**
 * @author wl_code@163.com
 * @version 1.0
 * @date 2018/7/5/005
 * @description 多对多参数
 * 用于封装多对多参数的配置项
 */
public class ManyToMany {

    /**
     * 多对多所对应的关联实体
     */
    private Class<?> manyToManyEntityClass;

    /**
     * 源字段 ,源字段对应的id
     */
    private String srcField, srcFieldId;

    /**
     * 多对多目标信息
     */
    private List<TagerInfo> tagerInfos = new ArrayList<>();

    public Class<?> getManyToManyEntityClass() {
        return manyToManyEntityClass;
    }

    public void setManyToManyEntityClass(Class<?> manyToManyEntityClass) {
        this.manyToManyEntityClass = manyToManyEntityClass;
    }

    public String getSrcField() {
        return srcField;
    }

    public void setSrcField(String srcField) {
        this.srcField = srcField;
    }

    public String getSrcFieldId() {
        return srcFieldId;
    }

    public void setSrcFieldId(String srcFieldId) {
        this.srcFieldId = srcFieldId;
    }

    public List<TagerInfo> getTagerInfos() {
        return tagerInfos;
    }

    public void setTagerInfos(List<TagerInfo> tagerInfos) {
        this.tagerInfos = tagerInfos;
    }

}
